<?php
/**
 * Template Name: Fullscreen
 * 
 */
if (!isset($_GET['ajax']) || ((bool) $_GET['ajax']) === false) {
    get_header();
}
?>
<!-- layout -->
<div class="rootFrame fullscreen">
    <div id="fullscreen" class="master" style="width:100%;height:100%">
        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
            <?php the_content(); ?>
        <?php endwhile; // end of the loop. ?>
    </div>
</div>
<!-- logic -->
<script type="text/javascript"> 
    //create namespace for this slide using anonymous function
//    (function(){
//        var slide = ads_client.getPresentation().getCurrentSlide();  
//        //register action
//        slide.registerAction('nextSlide', function(){
//            //next slide after 30s
//            (function(){
//                ads_client.getPresentation().slide();
//            }).delay(30*1000); 
//        });
//    })();
</script>
<?php
if (!isset($_GET['ajax']) || ((bool) $_GET['ajax']) === false) {
    get_footer();
}
?>